﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Scheduling.Models
{
    /// <summary>
    /// A group that signify user rights in the system. 
    /// </summary>
    public class UserGroup
    {
        /// <summary>
        /// The unique identifier of the group. 
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// The name of the group. 
        /// </summary>
        [Required]
        [StringLength(50)]
        public string Name { get; set; }
    }
}